limits and derivatives in one shot